<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>修改老师信息</title>
<link href="css/baitiao.css" rel="stylesheet" type="text/css" />
</head>
<body align="center"
	style="background-image: url(images/jsxxbj.jpg); background-size: 100%; background-repeat: no-repeat;">
	<%
		Object message = request.getAttribute("message");
	if (message != null && !"".equals(message)) {
	%>
	<script type="text/javascript">
              alert("<%=request.getAttribute("message")%>
		");
	</script>
	<%
		}
	%>
	<%
		String prename = null;
	prename = request.getParameter(prename);
	%>
	<div style="margin-top: 50px">
		<img src="images/logo11.png">
	</div>
	<div align="center"
		style="width: 700px; height: 350px; margin: auto; position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%);">
		<h1 style="color: black">修改教师信息</h1>
		<div>
			<div align="center"
				style="border: 5px solid black; width: 300px; height: 250px; border-radius: 15px;">

				<form action="Servlet?method=teagai" method="post">

					<div style="margin-top: 40px; border-radius: 5px;">
						<th><font color="red">类别:</font></th> <select name="leibie">
							<option value="gonghao">工号</option>
							<option value="xingming">姓名</option>
							<option value="xingbie">性别</option>
							<option value="xuexiao">学校</option>
							<option value="xuehao">职称</option>
						</select>
					</div>
					<div>
						<input type="text" name="neirong"
							style="margin-top: 30px; height: 30px; border-radius: 5px;" />
					</div>

					<div style="width: 200px; margin-top: 30px">
						<input type="submit" value="提交"
							style="float: left; margin-left: 30px; height: 35px; width: 60px; border-radius: 5px;" />
						<input type="button" value="返回"
							onclick="location.href='allteacher.jsp'"
							style="height: 35px; width: 60px; border-radius: 5px;" />
					</div>
			</div>

			</form>

		</div>
	</div>
	<div
		style="width: 100%; height: 50px; position: absolute; bottom: 20%;">
		<h1>当前用户：${prename }</h1>
	</div>
	<div class="loginbm">
		<p
			style="width: 100%; height: 30px; font-size: 25px; color: white; margin-top: 120px; position: absolute; bottom: 0; text-align: center; background: url(../images/loginbg2.png) repeat-x;">版权所有第六组，仅供实训使用，如用于任何商业用途，记得打钱</p>
	</div>
</body>
</html>